package com.fswan.permission;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@Data
public class Rule {
    private int ruleId;
    private String description;
    private List<Integer> children = new ArrayList<>();

    public boolean test(Account account, Role role, Map<?,?> extraData){
        return true;
    }
}
